package com.quan.cms.rpc.dao.mapper;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.quan.base.common.base.dao.support.BaseMapper;
import com.quan.base.common.utils.Paginator;
import com.quan.cms.rpc.extend.ContentQuery;
import com.quan.cms.rpc.model.CmsContent;

public interface CmsContentMapper extends BaseMapper<CmsContent, Integer> {
	
	public Page<CmsContent> selectPageContentWrapper(@Param("paginator") Paginator paginator, @Param("query") ContentQuery query);
	
	public CmsContent getContentWrapper(@Param("id") Integer id);
	
}